package com.luoy.enums;

import lombok.Getter;

/**
 * @desc:
 * @author: luoy
 * @date: 2020-12-09 19:26
 */
@Getter
public enum DateEnum {

    SECOND(0, "second"),
    MINUTE(1, "minute"),
    HOUR(2, "hour"),
    DAY(3, "day"),
    MONTH(4, "month");


    private final int code;
    private final String descp;

    DateEnum(int code, String descp) {
        this.code = code;
        this.descp = descp;
    }


}
